package com.practice.car.cardataapp.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * national_car_sales_trends
 * @author
 */
@Data
public class NationalCarSalesTrends implements Serializable {
    @TableId(type = IdType.ASSIGN_ID)
    private Integer idnationalCarSalesTrends;

    /**
     * 国系：如德国，中国，瑞典
     */
    private String national;

    /**
     * 年份月份，如 "2020-09"
     */
    private String month;

    /**
     * 单位：辆
     */
    private Integer sale;

    private static final long serialVersionUID = 1L;

    @Override
    public int hashCode() {
        int result = 17;
        result = 31 * result + national.hashCode();
        result = 31 * result + month.hashCode();
        return result;
    }
}
